package com.ozo.boot.manage.pojo.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 角色保存对象
 *
 * @author qiangesoft
 * @date 2024-10-29
 */
@Schema(description = "角色保存对象")
@Data
@NoArgsConstructor
public class SysRoleSaveDTO {

    @Schema(description = "id")
    private Long id;

    @NotBlank(message = "角色名称不能为空")
    @Schema(description = "角色名称")
    private String roleName;

    @NotBlank(message = "角色编码不能为空")
    @Schema(description = "角色编码")
    private String roleCode;

    @Schema(description = "备注")
    private String remark;

    @NotBlank(message = "状态不能为空")
    @Schema(description = "状态：1-启用 0-禁用")
    private String status;

}
